package com.cherry.mybatis;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

@ToString
@Setter
@Getter
public class Role {

    private Long id;
    private String roleName;

    //一个职位有多个员工
    private List<Emp> empList;

}
